/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_offer_price_plan_his.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_OFFER_PRICE_PLAN_HIS
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_offer_price_plan_his.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h"

CTable_PPM_OFFER_PRICE_PLAN_HIS::CTable_PPM_OFFER_PRICE_PLAN_HIS( )
 :NPCRecordSet( )
{
  setTableName( "PPM_OFFER_PRICE_PLAN_HIS" );
  prepareTable();
  prepareQuery();
 
  HIS_ID.setField( "HIS_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( HIS_ID );
  ID.setField( "ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( ID );
  OFFER_ID.setField( "OFFER_CD", DATA_CHAR, 20, 0 );
  makeTableItem( OFFER_ID );
  PRICE_ID.setField( "PRICE_ID", DATA_CHAR, 20, 0 );
  makeTableItem( PRICE_ID );
  APP_ID.setField( "APP_ID", DATA_CHAR, 20, 0 );
  makeTableItem( APP_ID );
  CREATE_DATE.setField( "CREATE_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( CREATE_DATE );
  MODIFY_DATE.setField( "MODIFY_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( MODIFY_DATE );
  STATE.setField( "STATE", DATA_CHAR, 10, 0 );
  makeTableItem( STATE );
  REMARK.setField( "REMARK", DATA_CHAR, 500, 0 );
  makeTableItem( REMARK );
}


CTable_PPM_OFFER_PRICE_PLAN_HIS::CTable_PPM_OFFER_PRICE_PLAN_HIS( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_OFFER_PRICE_PLAN_HIS" );
  prepareTable();
  prepareQuery();
 
  HIS_ID.setField( "HIS_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( HIS_ID );
  ID.setField( "ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( ID );
  OFFER_ID.setField( "OFFER_CD", DATA_CHAR, 20, 0 );
  makeTableItem( OFFER_ID );
  PRICE_ID.setField( "PRICE_ID", DATA_CHAR, 20, 0 );
  makeTableItem( PRICE_ID );
  APP_ID.setField( "APP_ID", DATA_CHAR, 20, 0 );
  makeTableItem( APP_ID );
  CREATE_DATE.setField( "CREATE_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( CREATE_DATE );
  MODIFY_DATE.setField( "MODIFY_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( MODIFY_DATE );
  STATE.setField( "STATE", DATA_CHAR, 10, 0 );
  makeTableItem( STATE );
  REMARK.setField( "REMARK", DATA_CHAR, 500, 0 );
  makeTableItem( REMARK );
}

CTable_PPM_OFFER_PRICE_PLAN_HIS::~CTable_PPM_OFFER_PRICE_PLAN_HIS( )
{
    close();
}

